<?php
use think\facade\Route;

Route::rule('smscode','sms/code','POST');
Route::resource('user', 'User');
Route::resource('category', 'Category');
// /api/controller/mall/Lists/index
Route::rule('lists','mall.lists/index');
Route::rule('subcategory/:id','category/sub');
// /api/controller/mall/Detail/index
Route::rule('detail/:id','mall.detail/index');